<template>
  <div class="cloud_shop_diyPage">
    <c-title :hide="false" text="官方导师"></c-title>
    <img :src="master_page_background" alt="" />
  </div>
</template>
<script>
export default {
  data() {
    return {
      master_page_background: ""
    };
  },
  activated() {
    this.getData();
  },
  methods: {
    async getData() {
      let { data, msg, result } = await $http.post("plugin.cloud-shop.frontend.guide.index", {}, ".");
      if (result) {
        this.master_page_background = data.master_page_background;
      } else {
        this.$toast(msg);
      }
    }
  }
};
</script>
<style lang="scss" scoped>
.cloud_shop_diyPage {
  min-height: 100vh;
  img {
    width: 100%;
    height: auto;
    display: block;
  }
}
</style>
